package com.ruoyi.project.system.product.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.util.Date;

/**
 * 【请填写功能名称】对象 product
 * 
 * @author ruoyi
 * @date 2021-03-25
 */
public class Product extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long idProduct;

    /** $column.columnComment */
    @Excel(name = "产品名称")
    private String nameProduct;

    /** $column.columnComment */
    @Excel(name = "产品单价")
    private Double priceProduct;

    /** $column.columnComment */
    @Excel(name = "产品单位")
    private String unitProduct;

    private Double count;

    /** $column.columnComment */
    private Integer contentIDProduct;

    /** $column.columnComment */
    @Excel(name = "产品创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date createdTime;

    /** $column.columnComment */
    @Excel(name = "产品更新时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss", type = Excel.Type.EXPORT)
    private Date updatedTime;

    /** $column.columnComment */
    private Long createdUserid;

    /** $column.columnComment */
    private Long updatedUserid;

    @Excel(name = "产品创建用户")
    private String cName;

    @Excel(name = "产品更新用户")
    private String uName;


    private Date sTime;

    private Date eTime;

    private Integer quantity;


    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Date getsTime() {
        return sTime;
    }

    public void setsTime(Date sTime) {
        this.sTime = sTime;
    }

    public Date geteTime() {
        return eTime;
    }

    public void seteTime(Date eTime) {
        this.eTime = eTime;
    }

    @Override
    public String toString() {
        return "Product{" +
                "idProduct=" + idProduct +
                ", nameProduct='" + nameProduct + '\'' +
                ", priceProduct=" + priceProduct +
                ", unitProduct='" + unitProduct + '\'' +
                ", count=" + count +
                ", contentIDProduct=" + contentIDProduct +
                ", createdTime=" + createdTime +
                ", updatedTime=" + updatedTime +
                ", createdUserid=" + createdUserid +
                ", updatedUserid=" + updatedUserid +
                ", cName='" + cName + '\'' +
                ", uName='" + uName + '\'' +
                '}';
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getIdProduct() {
        return idProduct;
    }

    public void setIdProduct(Long idProduct) {
        this.idProduct = idProduct;
    }

    public String getNameProduct() {
        return nameProduct;
    }

    public void setNameProduct(String nameProduct) {
        this.nameProduct = nameProduct;
    }

    public Double getPriceProduct() {
        return priceProduct;
    }

    public void setPriceProduct(Double priceProduct) {
        this.priceProduct = priceProduct;
    }

    public String getUnitProduct() {
        return unitProduct;
    }

    public void setUnitProduct(String unitProduct) {
        this.unitProduct = unitProduct;
    }

    public Double getCount() {
        return count;
    }

    public void setCount(Double count) {
        this.count = count;
    }

    public Integer getContentIDProduct() {
        return contentIDProduct;
    }

    public void setContentIDProduct(Integer contentIDProduct) {
        this.contentIDProduct = contentIDProduct;
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public Long getCreatedUserid() {
        return createdUserid;
    }

    public void setCreatedUserid(Long createdUserid) {
        this.createdUserid = createdUserid;
    }

    public Long getUpdatedUserid() {
        return updatedUserid;
    }

    public void setUpdatedUserid(Long updatedUserid) {
        this.updatedUserid = updatedUserid;
    }

    public String getcName() {
        return cName;
    }

    public void setcName(String cName) {
        this.cName = cName;
    }

    public String getuName() {
        return uName;
    }

    public void setuName(String uName) {
        this.uName = uName;
    }
}
